const authorConfig = [
  {
    title: '试题管理',
    key: 'main-addQuestions',
    children: [
      {
        title: '添加试题',
        key: 'main-addQuestions',
        path: '/addQuestion',
      },
      {
        title: '试题分类',
        key: 'main-questionsType',
        path: '/questionType',
      },
      {
        title: '查看试题',
        key: 'main-watchQuestions',
        path: '/watchQuestion',
      },
    ],
  },
  {
    title: '用户管理',
    key: 'main-addUser',
    children: [
      {
        title: '添加用户',
        key: 'main-addUser',
        path: '/addUser',
      },
      {
        title: '用户展示',
        key: 'main-showUser',
        path: '/showUser',
      },
    ],
  },
  {
    title: '考试管理',
    key: 'main-addExam',
    children: [
      {
        title: '添加考试',
        key: 'main-addExam',
        path: '/addExam',
      },
      {
        title: '试卷列表',
        key: 'main-examList',
        path: '/examList',
      },
    ],
  },
  {
    title: '班级管理',
    key: 'main-grade',
    children: [
      {
        title: '班级管理',
        key: 'main-grade',
        path: '/grade',
      },
      {
        title: '教室管理',
        key: 'main-room',
        path: '/room',
      },
      {
        title: '学生管理',
        key: 'main-student',
        path: '/student',
      },
    ],
  },
];
export default authorConfig;
